/**
 * 
 */
package json_objects_send;

/**
 * @author Alejandro Casas
 * @author Rodrigo Cifuentes
 */
public class JSON_review 
{
	private String message;
	private long id;
	private String date;
	private String mail_from;
	private String name_from;
	private String title;
	private String sport;
	private double calification;
	private boolean theViewerIsTheWriter;
	
	public JSON_review(String message, String date, String mail_from, String name_from,
			String title, String sport,boolean viewerIsWriter,long id)
	{
		this.message=message;
		this.date=date;
		this.mail_from=mail_from;
		this.name_from=name_from;
		this.title=title;
		this.sport=sport;
		this.id=id;
		theViewerIsTheWriter=viewerIsWriter;
	}

	
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}


	/**
	 * @return the theViewerIsTheWriter
	 */
	public boolean isTheViewerIsTheWriter() {
		return theViewerIsTheWriter;
	}


	/**
	 * @param theViewerIsTheWriter the theViewerIsTheWriter to set
	 */
	public void setTheViewerIsTheWriter(boolean theViewerIsTheWriter) {
		this.theViewerIsTheWriter = theViewerIsTheWriter;
	}


	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getMail_from() {
		return mail_from;
	}

	public void setMail_from(String mail_from) {
		this.mail_from = mail_from;
	}

	public String getName_from() {
		return name_from;
	}

	public void setName_from(String name_from) {
		this.name_from = name_from;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSport() {
		return sport;
	}

	public void setSport(String sport) {
		this.sport = sport;
	}

	public double getCalification() {
		return calification;
	}

	public void setCalification(double calification) {
		this.calification = calification;
	}
	
	
}
